package com.mytaobao.view;

import android.content.Context;
import android.support.annotation.Nullable;
import android.support.v7.widget.AppCompatTextView;
import android.util.AttributeSet;

import com.tmall.wireless.tangram.structure.BaseCell;
import com.tmall.wireless.tangram.structure.view.ITangramViewLifeCycle;

/**
 * Created by hp on 2017/7/7.
 */

public class TangramTextView extends AppCompatTextView implements ITangramViewLifeCycle {

    public TangramTextView(Context context) {
        super(context);
    }

    public TangramTextView(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public TangramTextView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    public void cellInited(BaseCell cell) {

    }

    @Override
    public void postBindView(BaseCell cell) {
           setText("hahdddda");
    }

    @Override
    public void postUnBindView(BaseCell cell) {

    }
}
